package cn.lili.modules.payment.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * 支付参数
 *
 * @author Chopper
 * @since 2020/12/19 11:46
 */
@Data
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RefundParam implements Serializable {

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "退款单号")
    private String sn;

    @ApiModelProperty(value = "关联订单号")
    private String orderSn;

    @ApiModelProperty(value = "第三方支付发起交易号")
    private String outTradeNo;

    @ApiModelProperty(value = "第三方平台付款流水号")
    private String transactionId;

    @ApiModelProperty(value = "支付方式")
    private String paymentMethod;

    @ApiModelProperty(value = "退款金额")
    private Double price;

    @ApiModelProperty(value = "支付总金额")
    private Double payPrice;

    @ApiModelProperty(value = "退款原因")
    private String refundReason;

}
